package com.apchernykh.rozhlasapp.player.fallback;


import android.media.MediaPlayer.OnBufferingUpdateListener;
import android.media.MediaPlayer.OnCompletionListener;
import android.media.MediaPlayer.OnErrorListener;
import android.media.MediaPlayer.OnPreparedListener;

public interface IFallbackPlayer {

	void setOnBufferingUpdateListener(OnBufferingUpdateListener iListener);

	void setOnErrorListener(OnErrorListener iMediaPlayerWrapper);

	void setOnPreparedListener(OnPreparedListener iMediaPlayerWrapper);

	void setOnCompletionListener(OnCompletionListener iMediaPlayerWrapper);

	void start();

	void stop();

	void dispose();
	
	boolean isValid();

}